import { request } from '@/plugins/axios'
import { IVirtualRooms } from './interface'

/** 获取虚拟会议室 */
export const fetchGetVirtualRooms = async () =>
	request<{ virtual_meeting_rooms: IVirtualRooms[] }>({
		url: '/virtual_meeting_rooms',
		method: 'get',
		params: { count: 0, status: 0 },
	}).then((res) => res)
